oracle.pgx.api.filter

## Class EdgeFilter

- java.lang.Object
- - oracle.pgx.api.filter.GraphFilter
  - - oracle.pgx.api.filter.GraphFilterWithExpression
    - - oracle.pgx.api.filter.EdgeFilter

-     public final class EdgeFilter
      extends GraphFilterWithExpression

  A class that wraps a filter expression supposed to be evaluated on each edge of the graph

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `EdgeFilter(String filterExpression)` Instantiates a new edge filter.

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `EdgeFilter` | `asEdgeFilter()` Gets this filter object as edge filter, if possible.
    `String` | `toString()`

    - ### Methods inherited from class oracle.pgx.api.filter.GraphFilterWithExpression

      `asGraphFilterWithExpression, fromTypeAndExpression, getFilterExpression, hasExpression`

    - ### Methods inherited from class oracle.pgx.api.filter.GraphFilter

      `asBinaryGraphFilterOperation, asVertexFilter, getType, intersect, isBinaryOperation, union`

    - ### Methods inherited from class java.lang.Object

      `equals, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- - ### Constructor Detail

    - #### EdgeFilter

          public EdgeFilter(String filterExpression)

      Instantiates a new edge filter.
      Parameters:
        `filterExpression` - the edge-filter expression

  - ### Method Detail

    - #### asEdgeFilter

          public EdgeFilter asEdgeFilter()

      Description copied from class: `GraphFilter`
      Gets this filter object as edge filter, if possible. Save to call if `GraphFilter.getType()` == FilterType.EDGE
      Overrides:
        `asEdgeFilter` in class `GraphFilter`
      Returns:
        the edge filter

    - #### toString

          public String toString()

      Overrides:
        `toString` in class `Object`

Copyright © 2015. All rights reserved.